package com.cruise.system.userapi.dto;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author ：Cruise
 * @version ：1.0
 * @Calss ：UpdateUserDTO
 * @Description ：TODO
 * @date ：2021/4/17 下午6:14
 **/

public class UpdateUserDTO {

    /**
     * 主键
     */
    private String id;

    /**
     * 头像
     */
    @ApiModelProperty("头像")
    private String avatar;
    /**
     * 用户昵称
     */
    @ApiModelProperty("用户昵称")
    private String nickname ;

    /**
     * 生日
     */
    @ApiModelProperty("生日")
    private Date birthday;
    /**
     * 性别（1男, 1女）
     */
    @ApiModelProperty("性别（1男, 1女）")
    private Integer sex;

    /**
     * 签名
     */
    @ApiModelProperty("签名")
    private String signature;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    @Override
    public String toString() {
        return "UpdateUserDTO{" +
                "id='" + id + '\'' +
                ", avatar='" + avatar + '\'' +
                ", nickname='" + nickname + '\'' +
                ", birthday=" + birthday +
                ", sex=" + sex +
                ", signature='" + signature + '\'' +
                '}';
    }
}
